#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>

int main() {
	int a[10] = { 10, 3, 6, 11, 4, 2, 9, 6, 5, 3 };
	int* p1, * p2, t, i;
	p1 = a;
	p2 = a + 9;
	i = 0;
	for (; p1 <= a + 4; p1++, p2--) {
		t = *p1;
		*p1 = *p2;
		*p2 = t;
		if (i < 10) {
			printf("%d", a[i]);
			i++;
		}
	}
	return 0;
}